package com.bilibili.sys.service;

import com.bilibili.sys.bean.SysRole;
import com.bilibili.sys.utils.PageUtils;

import java.util.List;

public interface IRoleService {
    public List<SysRole> list(SysRole entity);
    public int save(SysRole entity);
    public SysRole findById(int id);
    public int updateById(SysRole entity);

    int deleteById(int id);

    //public List<SysRole> listPage(PageUtils pageUtils);
    void  listPage(PageUtils pageUtils);

    int count(PageUtils pageUtils);

    boolean checkRoleDispatch(int id);
}
